package com.jiantong.work.service;

import com.jiantong.work.model.ButcherReportCert;
import io.terminus.common.model.Response;

import java.util.List;
import java.util.Map;

/**
 * Created by mz on 23/8/17.
 *
 */
public interface ButcherReportCertWriteService {

    /**
     * 添加一条
     * @param butcherReportCert 屠宰证对象
     * @return Long
     */
    Response<Long> create(ButcherReportCert butcherReportCert);

    /**
     * 添加多条记录
     * @param list 屠宰证对象
     * @return Integer
     */
    Response<Integer> creates(List<Map<String , Object>> list);
}
